package com.da.landlord;

/**
 * 权限管理/分配房源显示页面对象
 * @author Jebel Qin
 * @date 2015年6月23日
 * @since v1.0
 */
public class BuildingVo
{
	public static final Integer STATUS_NO_SELECTED = 0;
	public static final Integer STATUS_SELECTED = 1;
	
	private Integer id;
	
	private String name;
	
	private String address;
	
	private Integer roomCount;
	
	private Integer status;
	
	private boolean buildingFlag;

	public BuildingVo(Integer id, String name, String address, Integer roomCount)
	{
		super();
		this.id = id;
		this.name = name;
		this.address = address;
		this.roomCount = roomCount;
		this.status = STATUS_NO_SELECTED;
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getAddress()
	{
		return address;
	}

	public void setAddress(String address)
	{
		this.address = address;
	}

	public Integer getRoomCount()
	{
		return roomCount;
	}

	public void setRoomCount(Integer roomCount)
	{
		this.roomCount = roomCount;
	}

	public Integer getStatus()
	{
		return status;
	}

	public void setStatus(Integer status)
	{
		this.status = status;
	}

	public boolean isBuildingFlag()
	{
		return buildingFlag;
	}

	public void setBuildingFlag(boolean buildingFlag)
	{
		this.buildingFlag = buildingFlag;
	}
}
